//
// File:    mainwindow.h
// Brief:   主界面头文件
//
// History:
// ============================================================================
// 2011-01-20    Finux Chen <finuxchen@gmail.com>    创建
//
//
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include "ui_mainmenu.h"

class ProgForm;
class MeasureForm;

class QPushButton;

class MainWindow : public QWidget
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = 0);
	~MainWindow();

private slots:
    void switchForms();

private:
	Ui_MainMenu ui;
	QPushButton *loadButton;
	QPushButton *fileButton;
	QPushButton *programButton;
	QPushButton *measureButton;

	ProgForm *prog_form;
	MeasureForm *measure_form;
};

#endif // MAINWINDOW_H
